﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopPicUrl")]
    public class PicUrl : BaseObject
    {
        //begin
        public PicUrl()
        {}
        public PicUrl(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Url;
        public string Url
        {
            get
            {
                return _Url;
            }
            set
            {
                SetPropertyValue("Url", ref _Url, value);
            }
        }
        private RefundMessage _RefundMessage;
        [Association("RefundMessagePicUrls", typeof(RefundMessage))]
        public RefundMessage RefundMessage
        {
            get
            {
                return _RefundMessage;
            }
            set
            {
                SetPropertyValue("RefundMessage", ref _RefundMessage, value);
            }
        }
        //end

    }
}
